#include "Papagal.h"


Papagal::Papagal(){
        (*this).ageLimit=10;
  (*this).age=0;
  (*this).sex=male;
  (*this).culoare="rosu";
        (*this).perioadaGestatie=1;
}
void Papagal::print(){
        std::cout<<"\nPapagal\n"<<"Limita de varsta= "<<(*this).ageLimit<<" Varsta= "<<(*this).age<<" Sex= "<<(*this).sex<<" Culoare= "<<(*this).culoare<<"\n";

}
Papagal* Papagal::giveBirth(){
   return new Papagal();
}

